<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.lmpop.updateHtml.updateHtml.*" %>

<%
	UpdateArticleHtml uah = new UpdateArticleHtml();

	String info_id="",cust_id="";
	if(request.getParameter("info_id")!=null)
	{
		info_id  = request.getParameter("info_id");
	}
	if(request.getParameter("cust_id")!=null)
	{
		cust_id  = request.getParameter("cust_id");
	}

	try
	{
		if (cust_id.equals("100000000000000"))
		{
			uah.updateArticleByGoodsId("r0824lf8xUk501u",info_id,"0","1");		
		}
		else
		{
			uah.updateArticleByGoodsId("F81204Rh75bg6d5",info_id,"0","1");		
		}
		out.println("成功");
	}catch(Exception e){
		e.printStackTrace();
		out.println("失败");
	}
%>
